package com.shanjupay.merchant.convert;

import com.shanjupay.merchant.vo.MerchantRegisterVO;
import com.shanjupay.service.api.dto.MerchantDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * TODO
 *
 * @Description
 * @Author zhangbing
 * @Date 2024/5/11 10:01
 **/
@Mapper
public interface MerchantRegisterConvert {
    MerchantRegisterConvert INSTANCE= Mappers.getMapper(MerchantRegisterConvert.class);

    MerchantDTO entity2dto(MerchantRegisterVO merchantRegisterVO);
    MerchantRegisterVO dto2entity(MerchantDTO merchantDTO);
}
